package com.boot.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.Data;

@TableName(value ="roles")
@Data
@Entity
public class Role {
    @Id
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
}
